package com.google.ideas.MobileMeme.meme;

import android.graphics.Bitmap;

public class BaseImage {
	private String name;
	private Bitmap image;
	private String hash;
	
	public BaseImage(String name, Bitmap image, String hash) {
		super();
		this.name = name;
		this.image = image;
		this.hash = hash;
	}
	
	public String getName() {
		return name;
	}

	public String getHash() {
		return hash;
	}

	public Bitmap image() {
		return image;
	}
 
    public void setHash(String h) {
        hash = h;
    }

    @Override
    public String toString() {
        return name + ":" + hash.substring(hash.length() - 8); 
    }
}
